FocusAgent
From Documentation
Focus & Blur
Only components that inherit org.zkoss.zul.impl.InputElement
supports FocusAgent
.
inputComponent.as(FocusAgent.class).focus();
inputComponent.as(FocusAgent.class).blur();
Supported Components
A, Button, Bandbox, Combobox, Checkbox,
Datebox, Decimalbox, Doublebox, Doublespinner, Intbox, Listbox, Longbox, Radio, Spinner, Textbox, Timebox, Tree |
5, 6 |